package fonkin.com.wifisignapp.utils;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * Created by 黄洪靖 on 2017/4/12.
 */

public class MyProgressBar {
    ProgressDialog progressDialog=null;
    public MyProgressBar MyProgressBar(Context context, String message, String title){
        progressDialog  = new ProgressDialog(context);
        progressDialog.setMessage(message);
        progressDialog.setTitle(title);
        progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
        progressDialog.setCancelable(false);
        progressDialog.show();
        return null;
    }



}
